﻿#include "Shared.fxh"

float4 passthrough_vs( float4 iPos : POSITION ) : POSITION
{
	return mul( iPos, MatMvp );
}

float4 white_ps() : COLOR0
{
	return 1;
}

technique WhiteWires
{
	pass p0
	{
		VertexShader = compile vs_2_0 passthrough_vs();
		PixelShader = compile ps_2_0 white_ps();

		AlphaBlendEnable = False;
		AlphaTestEnable = False;
		ZEnable = True;
		ZFunc = LessEqual;
		
		FillMode = Wireframe;
	}
	
	pass reset
	< bool IsResetPass = true; >
	{
		FillMode = Solid;
	}
}